package cn.sdormitory.violative.service;


import cn.sdormitory.violative.entity.ViolationPatrol;
import cn.sdormitory.violative.form.ViolationPatrolGoBackForm;
import cn.sdormitory.violative.form.ViolationPatrolQueryForm;
import cn.sdormitory.violative.form.ViolationPatrolReceiveForm;
import cn.sdormitory.violative.form.ViolationPatrolSaveForm;
import cn.sdormitory.violative.vo.ViolationPatrolReceiveInfoVo;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;
import java.util.Map;

public interface ViolationPatrolService {
    IPage<ViolationPatrol> pageList(ViolationPatrolQueryForm queryForm);

    ViolationPatrol getDetail(long id);

    void save(ViolationPatrolSaveForm form);

    void submit(long id);

    void delete(long id);

    String receive(ViolationPatrolReceiveForm receiveForm);

    List<ViolationPatrolReceiveInfoVo> getViolationPatrolReceiveInfos(long id);

    String goBackViolationPatrol(ViolationPatrolGoBackForm goBackForm);
	
	List<Map<String, String>> getViolationPatrolStatistics(String startDate, String endDate);
    
    List<ViolationPatrol> getViolationPatrolStatisticsDetail(String startDate, String endDate, String classId);
}
